
const Als = require("utils/issdk.js")

App({
  onLaunch: function () {
    const initSDK = new Als({
      appid: "wx069ba97219f66d99",
      appCode: '0e9a6a9f-be13-7359-ddea-063cef4aa443',
    })
    
    wx.isSDK = initSDK
   
  },

  log(){

  },
  //登录
  login() {
    wx.login({
      success:res=>{
        let params={
          code:res.code
        }
        wx.isSDK.getOpenid(params).then(res=>{
          console.log(res)
        })
      }
    })
  },
  loadConfig: function () {


  },

  config: {},
  globalData: {
    userInfo: null,
    winWidth: 375,
    isChange: true
  },
})